
package com.kweative.model.column;

import com.kweative.model.Table;
import com.kweative.util.StringUtil;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author henrik
 */
public class ColumnUID<T extends Table> extends ColumnText<T> {

    public ColumnUID(String name) {
        this();
		setName(name);
    }

	public ColumnUID() {
		super(32);
	}

	@Override
	public String beforeInsert(Object value) {
		return StringUtil.GUID();
	}

}
